﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListTenderFirmRecord.aspx.cs" Inherits="dzs.Web.tenderExpert.ListTenderFirmRecord" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <style type="text/css">
        .style1 {
            width: 100%;
            text-align: center;
            margin:0,auto;
        }

        .style2 {
            height: 16px;
        }
         
    </style>
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <link href="../../css/myStyle.css" rel="stylesheet" />

    <link href="../style.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table cellpadding="0" cellspacing="0" class="style1">
                <tr>
                    <td class="style2"></td>
                </tr>
                <tr>
                    <td style="height: 15px; text-align: center;">
                        <b>投标厂商行为记录列表</b></td>
                </tr>
                <tr>
                    <td style="height: 15px;">&nbsp;</td>
                </tr>
                <tr>
                    <td style="height: 15px;">&nbsp;名称：<asp:TextBox ID="txt_name" runat="server"></asp:TextBox>
                        审核状态：<asp:DropDownList ID="ddl_status" runat="server">
                            <asp:ListItem>全部</asp:ListItem>
                            <asp:ListItem Value="0">未审核</asp:ListItem>
                            <asp:ListItem Value="1">审核通过</asp:ListItem>
                            <asp:ListItem Value="3">审核未通过</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;<asp:Button ID="btn_sel" runat="server" CssClass="btn" OnClick="btn_sel_Click"
                            Text="查询" />
                    </td>
                </tr>
                <tr>
                    <td style="height: 15px;">&nbsp;</td>
                </tr>
                <tr>
                    <td style="height: 15px;">&nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: center; margin:0,auto; ">
                       
                        <asp:GridView ID="gridView" align="center"  runat="server" AutoGenerateColumns="False"
                            BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv"
                            GridLines="None" Width="100%" AllowPaging="True"
                            OnPageIndexChanging="gridView_PageIndexChanging" PageSize="30"
                            DataKeyNames="tenderFirmRecordId" OnRowDataBound="gridView_RowDataBound1" >
                            <Columns>
                                <asp:TemplateField ControlStyle-Width="30" HeaderText="选择" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="DeleteThis"  runat="server" />
                                    </ItemTemplate>

                                    <ControlStyle Width="30px"></ControlStyle>

<ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:TemplateField>

                                <asp:BoundField DataField="recordName" HeaderText="名称"  ItemStyle-HorizontalAlign="Center">
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="行为记录">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("recordContent") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="lbl_record" runat="server" Text='<%# Bind("recordContent") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="recordScore" HeaderText="奖惩分值"  ItemStyle-HorizontalAlign="Center">
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="tenderTime" HeaderText="时间" />
                                <asp:BoundField DataField="timeCount" HeaderText="时限(单位：月)"  ItemStyle-HorizontalAlign="Center" Visible="False">

                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>

                                <asp:TemplateField HeaderText="审核状态">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txt_status" runat="server" Text='<%# Bind("check_status") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="lbl_status" runat="server" Text='<%# Bind("check_status") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="编辑">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="hy_edit" runat="server" NavigateUrl='<%# Eval("tenderFirmRecordId", "AddOrUpTenderFirmRecord.aspx?id={0}") %>' Text="编辑"></asp:HyperLink>
                                    </ItemTemplate>
                                    <ControlStyle Width="50px" />
                                </asp:TemplateField>
                                <asp:TemplateField ControlStyle-Width="50" HeaderText="删除" Visible="false">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                            Text="删除"></asp:LinkButton>
                                    </ItemTemplate>

                                    <ControlStyle Width="50px"></ControlStyle>
                                </asp:TemplateField>
                            </Columns>
                            <PagerStyle CssClass="mypager" />
                            
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td style="height: 15px;">
                        <asp:Button ID="btnDelete" runat="server" Text="删除选定项" OnClick="btnDelete_Click" />
                    </td>
                </tr>
                <tr>
                    <td style="height: 15px;">&nbsp;</td>
                </tr>
            </table>
    </div>
    </form>
</body>
</html>
